﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Efcore.MultiTenant.Entity
{
    /// <summary>
    /// 公用字段模型
    /// </summary>
    /// <typeparam name="TKey">string | number</typeparam>
    public abstract class BaseEntity<TKey> : BaseEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        public TKey Id { get; set; }
    }

    /// <summary>
    /// 基类模型
    /// </summary>
    public abstract class BaseEntity
    {

    }
}
